<?php if (in_category(array('120','151','119'))) { include (TEMPLATEPATH . '/single-webinar.php') ;
} else { ?>

<?php get_header() ?>

	<div id="container">
    
    	<?php include('breadcrumbs.php'); ?>
    
		<div id="content">
        
        <?php the_post() ?>
        
     	<?php if (in_category('330')) {
			include 'page-template-state-pages.php';
							  } else { ?>

			<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
				<h2 class="entry-title"><?php the_title() ?></h2>
                <?php include ('socialbuttons.php'); ?>
				<div class="entry-content">
                
                	<?php if (! in_category('69')) { include ('single-featuredimage.php'); } ?>
                
					<?php the_content() ?>
					
                    <?php
						if(in_category('75')){
						include 'page-include-contact-sunmaxx.php';
						}
						else{
						include 'facebook-comments.php';
						}
					?>
                    
				</div>
			</div><!-- .post -->
            
            <?php } ?>
            
            <!-- INCLUDE END OF PAGE CTA BLOCK IF THE PAGE HAS A CTA URL -->
            <?php if(get_post_meta($post->ID, "ctaURL", true)){ include('inpagecta.php') ; } ?>

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_sidebar() ?>
<?php get_footer() ?>

<?php } ?>